package com.wnhz.trim.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@TableName("designer_tab")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Designer {

    @TableId(value = "designer_id", type = IdType.AUTO)
    private Integer id;  //签订设计师ID

    @TableField("designer_name")
    private String name;  //设计师姓名

    @TableField("designer_gender")
    private String gender;  //设计师性别

    @TableField("designer_old")
    private Integer old;   // 设计师年龄

    @TableField("designer_phone")
    private String phone;  //  设计师电话

    @TableField("designer_profile")
    private String profile;  // 设计师简介

    @TableField("designer_age")
    private Integer age;   // 设计师工作年限

//    @TableField("designer_picture")
//    private String picture;   // 设计案例

    @TableField("designer_cost")
    private String cost;   // 设计费用


    @TableField("create_time")
    private LocalDateTime createTime;   //创建时间

    @TableField("update_time")
    private LocalDateTime updateTime;   //更新时间



}
